package cn.yyt.yytravel.like.mapper;

import cn.yyt.yytravel.like.pojo.query.LikeQuery;
import cn.yyt.yytravel.like.pojo.query.SearchQuery;
import cn.yyt.yytravel.like.pojo.vo.getSceneFollowVO;
import cn.yyt.yytravel.like.pojo.vo.getUserFollowVO;
import cn.yyt.yytravel.like.pojo.vo.LikeSceneVO;
import cn.yyt.yytravel.like.pojo.vo.LikeUserVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LikeMapper {

    List<LikeUserVO> selectFollowUser(Long id);

    List<LikeSceneVO> selectFollowScene(Long id);

    void deleteFollowUser(LikeQuery likeQuery);

    void updateFollowUser(LikeQuery likeQuery);

    void deleteFollowScene(LikeQuery likeQuery);

    void updateFollowScene(LikeQuery likeQuery);

    List<LikeUserVO> resetUserSearch(SearchQuery searchQuery);

    List<LikeSceneVO> resetSceneSearch(SearchQuery searchQuery);

    List<getUserFollowVO> getUserFollow(LikeQuery likeQuery);


    List<getSceneFollowVO> getSceneFollow(LikeQuery likeQuery);
}
